package leetcode.topinterviewquestions;

import java.util.HashMap;
import java.util.Map;

public class Main {

    Node head;
    Node tail;
    Map<Integer, Node> map = new HashMap<>();
    public void update() {

    }

    public void 

    public void add(int key, int value) {

    }

    public int get(int key) {
        return 0;
    }

    public static class Node {
        int key;
        int value;
        Node next;
        Node last;

        public Node(int key, int value) {
            this.value = value;
            this.key = key;
        }
    }

}